home *** CD-ROM | disk | FTP | other *** search
/ Workbench Design / WB Collection.iso / workbench werkzeuge / dateimanager / mtool / install < prev    next >
Text File  |  1996-04-07  |  45KB  |  1,639 lines

  1. (set ver (/ (getversion) 65536))
  2.  
  3. (set locale
  4.  (askchoice
  5.   (prompt  "Select the prefered language.")
  6.   (help    "")
  7.   (choices "Dansk" "Deutsch" "English" "Español" "Français" "Svenska" "Italiano" "Suomi" "Nederlands")
  8.   (default 2)
  9.  )
  10. )
  11.  
  12. (if (= locale 0)
  13.  (
  14.  (message "\n IMPORTANT NOTE:\n\n"
  15.           "Dette program installerer MTool på Din Amiga. Hvis Du ikke forstår en af spørgsmålene der optræder under installationen, vælg 'hjælp...' knappen. Du vil så blive oplyst om det næste skridt og hvad det er godt for."
  16.  )
  17.  
  18.  (set progdest
  19.      (askdir
  20.          (prompt "Vær venlig og vælg en skuffe til MTool.")
  21.          (help "MTool vil blive lagt over i dette directory.")
  22.          (default "SYS:Tools")
  23.          (newpath)
  24.      )
  25.  )
  26.  
  27.  (set @default-dest progdest)
  28.  
  29.  (copyfiles
  30.      (prompt "Kopierer MTool...")
  31.      (source "MTool")
  32.      (infos)
  33.      (dest progdest)
  34.  )
  35.  
  36.  (complete 30)
  37.  
  38.  (copyfiles
  39.      (prompt "Kopierer MTPrefs...")
  40.      (source "Prefs/MTool")
  41.      (infos)
  42.      (dest "SYS:Prefs")
  43.  )
  44.  
  45.  (if (askbool (help "The scripts are needed for some program objects of the demo prefs file. They are used to control the programs unarj, uuxt and untar.") (prompt "Vil Du installere de Shell Scripts?"))
  46.  (
  47.      (copyfiles
  48.          (prompt "Kopierer Scripts...")
  49.          (source "S")
  50.          (pattern "#?")
  51.          (dest "S:")
  52.      )
  53.  )
  54.  )
  55.  
  56.  (if (askbool (help "The tools are:\n\n- MFind (search for files and their contents)\n- MIconInfo (display icon information)\n\nThey are already included in the demo prefs") (prompt "Vil Du installere de Tools?"))
  57.  (
  58.      (copyfiles
  59.          (prompt "Kopierer Tools...")
  60.          (source "Tools")
  61.          (pattern "#?")
  62.          (dest "SYS:Tools")
  63.      )
  64.  )
  65.  )
  66.  
  67.  (complete 40)
  68.  
  69.  (if (= (exists "ENVARC:MTool/MTool.Prefs") FALSE )
  70.  (
  71.      (makedir "ENVARC:MTool")
  72.      (makedir "ENV:MTool")
  73.  
  74.      (copyfiles
  75.          (prompt "Kopierer eksempel prefs fil...")
  76.          (source "Prefs/Env-Archive/MTool/MTool.Prefs")
  77.          (dest "ENVARC:MTool")
  78.      )
  79.      (copyfiles
  80.          (source "Prefs/Env-Archive/MTool/MTool.Prefs")
  81.          (dest "ENV:MTool")
  82.      )
  83.  )
  84.  )
  85.  
  86.  (complete 60)
  87.  
  88.  (if (> ver 37)
  89.      (if (exists "Locale:Catalogs/dansk")
  90.      (
  91.          (if (askbool (help "Hvis Du har valgt dansk som standard sprog og installeret filerne vil MTool starte med en dansk brugerflade.") (prompt "Vil Du installere de danske locale filer?"))
  92.          (
  93.              (copyfiles
  94.                  (prompt "Installerer danske kataloger")
  95.                  (source "Catalogs/dansk")
  96.                  (pattern "#?")
  97.                  (dest "Locale:Catalogs/dansk")
  98.              )
  99.          )        
  100.          )
  101.      )
  102.      )
  103.  )
  104.  
  105.  (if (askbool (help "Ikonerne bruges til at oprette ikoner for filer passende til deres type. Denne funktion er slået fra i den uregistrerede version.") (prompt "Vil Du installere ikonerne?"))
  106.  (
  107.      (set icondest
  108.          (askdir
  109.               (prompt "Vær venlig og vælg en skuffe til ikonerne.")
  110.               (help "Eksempel prefs filerne forventer ikonerne i standard skuffen.")
  111.               (default (tackon progdest "MToolIcons"))
  112.               (newpath)
  113.          )
  114.      )
  115.  
  116.      (if (askbool (help "MagicWB er en samling af baggrunds mønstre og ikoner, resulterende i en meget flot 8-farvet Workbench. Du kan installere ikoner specielt designed til MagicWB.") (prompt "Bruger Du 'MagicWB'?"))
  117.      (
  118.      (copyfiles
  119.          (prompt "Kopierer ikoner...")
  120.          (source "MToolIcons/MWB")
  121.          (pattern "(~MT)#?.info")
  122.          (dest icondest)
  123.      )
  124.      (copyfiles
  125.          (source "MToolIcons/MWB/MTool.info")
  126.          (dest progdest)
  127.      )
  128.      (copyfiles
  129.          (source "MToolIcons/MWB/MTPrefs.info")
  130.          (dest "SYS:Prefs")
  131.          (newname "MTool.info")
  132.      )
  133.      )
  134.      (
  135.      (copyfiles
  136.          (prompt "Kopierer ikoner...")
  137.          (source "MToolIcons")
  138.          (pattern "#?.info")
  139.          (dest icondest)
  140.      )
  141.      )
  142.      )
  143.  )
  144.  )
  145.  
  146.  (complete 80)
  147.  
  148.  (if (askbool (help "Dokumentationen består af to AmigaGuide manualer og en historie fil.") (prompt "Vil Du installere dokumentationen?"))
  149.  (
  150.      (set docdest
  151.          (askdir
  152.               (prompt "Vær venlig og vælg en skuffe til dokumentationen.")
  153.               (help "Det er lige meget hvor Du putter den, sålænge Du kan finde den igen...")
  154.               (default (tackon progdest "Docs"))
  155.               (newpath)
  156.          )
  157.      )
  158.      (copyfiles
  159.          (prompt "Kopierer dokumentationen...")
  160.          (source "Docs")
  161.          (pattern "#?_DK.#?")
  162.          (infos)
  163.          (dest docdest)
  164.      )
  165.      (copyfiles
  166.          (prompt "Kopierer dokumentationen...")
  167.          (source "Docs")
  168.          (pattern "#?_GB.#?")
  169.          (infos)
  170.          (dest docdest)
  171.      )
  172.  )
  173.  )
  174.  
  175.  (complete 90)
  176.  
  177.  (if (askbool (help "DatMon er nyttig hex modus af MI, Fineline 11 bruges i MTool's info requester.") (prompt "Vil Du installere fontene?"))
  178.  (
  179.      (set fontdest
  180.          (askdir
  181.              (prompt "Vær venlig og vælg en skuffe til fontene.")
  182.              (help "Hvis Du ikke 'assign add'er en anden font skuffe skulle Du ikke røre ved denne standard indstilling.")
  183.              (default "Fonts:")
  184.              (newpath)
  185.          )
  186.      )
  187.      (copyfiles
  188.          (prompt "Kopierer fonte...")
  189.          (source "Fonts")
  190.          (dest fontdest)
  191.          (pattern "#?")
  192.      )
  193.  )
  194.  )
  195.  
  196.  (complete 99)
  197.  )
  198. )
  199.  
  200. (if (= locale 1)
  201.  (
  202.  (message "\n HINWEIS ZUR INSTALLATION VON MTOOL:\n\n"
  203.           "Dieses Programm installiert MTool auf Ihrem System. Sollten Sie eine der während der Installation auftretenden Fragen nicht verstehen, können Sie jederzeit 'Hilfe...' anwählen. Sie erhalten dann genaue Auskunft, was der nächste Arbeitsschritt macht und wozu er gut ist."
  204.  )
  205.  
  206.  (set progdest
  207.      (askdir
  208.          (prompt "Bitte wählen Sie ein Verzeichnis für MTool aus.")
  209.          (help "In das gewählte Verzeichnis wird das Programme MTool kopiert.")
  210.          (default "SYS:Tools")
  211.          (newpath)
  212.      )
  213.  )
  214.  
  215.  (set @default-dest progdest)
  216.  
  217.  (copyfiles
  218.      (prompt "Kopiere Hauptprogramm...")
  219.      (source "MTool")
  220.      (infos)
  221.      (dest progdest)
  222.  )
  223.  
  224.  (complete 30)
  225.  
  226.  (copyfiles
  227.      (prompt "Kopiere den Voreinstellungseditor zu MTool")
  228.      (source "Prefs/MTool")
  229.      (infos)
  230.      (dest "SYS:Prefs")
  231.  )
  232.  
  233.  (if (askbool (help "Die Shellscripte werden von einigen Programmobjekten der Demovoreinstellungen verwendet. Sie steuern die Programme unarj, uuxt und untar.") (prompt "Sollen die Shellskripte installiert werden?"))
  234.  (
  235.      (copyfiles
  236.          (prompt "Kopiere die Shellskripte...")
  237.          (source "S")
  238.          (pattern "#?")
  239.          (dest "S:")
  240.      )
  241.  )
  242.  )
  243.  
  244.  (if (askbool (help "Die Tools sind:\n\n- MFind (Suche nach Dateien und ihrem Inhalt)\n- MIconInfo (Iconinformationen anzeigen)\n\nSie sind bereits in der Demovoreinstellung eingetragen") (prompt "Sollen die Tools installiert werden?"))
  245.  (
  246.      (copyfiles
  247.          (prompt "Kopiere die Tools...")
  248.          (source "Tools")
  249.          (pattern "#?")
  250.          (dest "SYS:Tools")
  251.      )
  252.  )
  253.  )
  254.  
  255.  (complete 40)
  256.  
  257.  (if (= (exists "ENVARC:MTool/MTool.Prefs") FALSE )
  258.  (
  259.      (makedir "ENVARC:MTool")
  260.      (makedir "ENV:MTool")
  261.  
  262.      (copyfiles
  263.          (prompt "Kopiere Prefsdatei zu MTool")
  264.          (source "Prefs/Env-Archive/MTool/MTool_d.Prefs")
  265.          (dest "ENVARC:MTool")
  266.          (newname "MTool.prefs")
  267.      )
  268.      (copyfiles
  269.          (source "Prefs/Env-Archive/MTool/MTool_d.Prefs")
  270.          (dest "ENV:MTool")
  271.          (newname "MTool.prefs")
  272.      )
  273.  )
  274.  )
  275.  
  276.  (complete 60)
  277.  
  278.  (if (> ver 37)
  279.      (if (exists "Locale:Catalogs/deutsch")
  280.      (
  281.          (if (askbool (help "Wenn Sie als Landessprache deutsch gewählt haben und diese Dateien installieren lassen, wird MTool eine deutsche Benutzeroberfläche anzeigen.") (prompt "Soll die deutsche Sprachanpassung installiert werden?"))
  282.          (
  283.              (copyfiles
  284.                  (prompt "Installiere deutsche Catalogs")
  285.                  (source "Catalogs/deutsch")
  286.                  (pattern "#?")
  287.                  (dest "Locale:Catalogs/deutsch")
  288.              )
  289.          )        
  290.          )
  291.      )
  292.      )
  293.  )
  294.  
  295.  (complete 70)
  296.  
  297.  (if (askbool (help "Die Icons werden von MTool benutzt, um Dateien gemäß ihrem Dateityp mit Icons versehen zu können. Diese Fähigkeit ist in der unregistrierten Version gesperrt.") (prompt "Sollen die Icons installiert werden?"))
  298.  (
  299.      (set icondest
  300.          (askdir
  301.               (prompt "Bitte wählen Sie ein Verzeichnis für die Icons aus.")
  302.               (help "Die mitgelieferte Voreinstellungsdatei erwartet die Icons im vorgegebenen Verzeichnis")
  303.               (default (tackon progdest "MToolIcons"))
  304.               (newpath)
  305.          )
  306.      )
  307.  
  308.      (if (askbool (help "MagicWB ist eine Sammlung von Hintergrundgraphiken und Icons, die eine sehr schöne 8-farbige Workbench ergeben. Sie können dazu passende Icons installieren lassen") (prompt "Benutzen Sie 'MagicWB'?"))
  309.      (
  310.      (copyfiles
  311.          (prompt "Kopiere Icons...")
  312.          (source "MToolIcons/MWB")
  313.          (pattern "(~MT)#?.info")
  314.          (dest icondest)
  315.      )
  316.      (copyfiles
  317.          (source "MToolIcons/MWB/MTool.info")
  318.          (dest progdest)
  319.      )
  320.      (copyfiles
  321.          (source "MToolIcons/MWB/MTPrefs.info")
  322.          (dest "SYS:Prefs")
  323.          (newname "MTool.info")
  324.      )
  325.      )
  326.      (
  327.      (copyfiles
  328.          (prompt "Kopiere Icons...")
  329.          (source "MToolIcons")
  330.          (pattern "#?.info")
  331.          (dest icondest)
  332.      )
  333.      )
  334.      )
  335.  )
  336.  )
  337.  
  338.  (complete 80)
  339.  
  340.  (if (askbool (help "Die Anleitungen umfassen zwei AmigaGuide-Dokumente und eine Änderungsdatei.") (prompt "Sollen die Anleitungen kopiert werden?"))
  341.  (
  342.      (set docdest
  343.          (askdir
  344.               (prompt "Bitte wählen Sie ein Verzeichnis für die Anleitungen aus.")
  345.               (help "Es ist egal, wo Sie die Anleitungen hinstecken, Sie sollten Sie bloß wiederfinden...")
  346.               (default (tackon progdest "Anleitungen"))
  347.               (newpath)
  348.          )
  349.      )
  350.      (copyfiles
  351.          (prompt "Kopiere Anleitungen...")
  352.          (source "Docs")
  353.          (pattern "#?_D.#?")
  354.          (infos)
  355.          (dest docdest)
  356.      )
  357.  )
  358.  )
  359.  
  360.  (complete 90)
  361.  
  362.  (if (askbool (help "Die Schrift DatMon ist im Hex-Modus von MI recht nützlich, Fineline 11 wird im Aboutrequester von MTool verwendet.") (prompt "Sollen die Schriften kopiert werden?"))
  363.  (
  364.      (set fontdest
  365.          (askdir
  366.              (prompt "Bitte wählen Sie ein Verzeichnis für die Schriften aus.")
  367.              (help "Wenn Sie kein Verzeichnis zum Fonts:-Verzeichnis zuge'add'et haben, sollten Sie die Einstellung bei Fonts: belassen.")
  368.              (default "Fonts:")
  369.              (newpath)
  370.          )
  371.      )
  372.      (copyfiles
  373.          (prompt "Kopiere Zeichensätze...")
  374.          (source "Fonts")
  375.          (dest fontdest)
  376.          (pattern "#?")
  377.      )
  378.  )
  379.  )
  380.  
  381.  (complete 99)
  382.  )
  383. )
  384.  
  385. (if (= locale 2)
  386.  (
  387.  (message "\n IMPORTANT NOTE:\n\n"
  388.           "This programm installs MTool on your Amiga. If you don't understand one of the questions that show up during installation, please select the 'help...' button. You will be instructed then about the next step and what it's good for."
  389.  )
  390.  
  391.  (set progdest
  392.      (askdir
  393.          (prompt "Please select a drawer for MTool.")
  394.          (help "MTool will be copied to this drawer.")
  395.          (default "SYS:Tools")
  396.          (newpath)
  397.      )
  398.  )
  399.  
  400.  (set @default-dest progdest)
  401.  
  402.  (copyfiles
  403.      (prompt "Copying MTool...")
  404.      (source "MTool")
  405.      (infos)
  406.      (dest progdest)
  407.  )
  408.  
  409.  (complete 30)
  410.  
  411.  (copyfiles
  412.      (prompt "Copying MTPrefs...")
  413.      (source "Prefs/MTool")
  414.      (infos)
  415.      (dest "SYS:Prefs")
  416.  )
  417.  
  418.  (if (askbool (help "The scripts are needed for some program objects of the demo prefs file. They are used to control the programs unarj, uuxt and untar.") (prompt "Do you want to install the shell scripts?"))
  419.  (
  420.      (copyfiles
  421.          (prompt "Copying scripts...")
  422.          (source "S")
  423.          (pattern "#?")
  424.          (dest "S:")
  425.      )
  426.  )
  427.  )
  428.  
  429.  (if (askbool (help "The tools are:\n\n- MFind (search for files and their contents)\n- MIconInfo (display icon information)\n\nThey are already included in the demo prefs") (prompt "Do you want to install the tools?"))
  430.  (
  431.      (copyfiles
  432.          (prompt "Copying tools...")
  433.          (source "Tools")
  434.          (pattern "#?")
  435.          (dest "SYS:Tools")
  436.      )
  437.  )
  438.  )
  439.  
  440.  (complete 40)
  441.  
  442.  (if (= (exists "ENVARC:MTool/MTool.Prefs") FALSE )
  443.  (
  444.      (makedir "ENVARC:MTool")
  445.      (makedir "ENV:MTool")
  446.  
  447.      (copyfiles
  448.          (prompt "Copying example prefs file...")
  449.          (source "Prefs/Env-Archive/MTool/MTool.Prefs")
  450.          (dest "ENVARC:MTool")
  451.      )
  452.      (copyfiles
  453.          (source "Prefs/Env-Archive/MTool/MTool.Prefs")
  454.          (dest "ENV:MTool")
  455.      )
  456.  )
  457.  )
  458.  
  459.  (complete 60)
  460.  
  461.  (if (askbool (help "The icons will be used in MTool to create icons for files according to their type. This feature is disabled in the unregistered version.") (prompt "Do you want to install the icons?"))
  462.  (
  463.      (set icondest
  464.          (askdir
  465.               (prompt "Please select a drawer for the icons.")
  466.               (help "The example prefs file expects the icons in the default drawer.")
  467.               (default (tackon progdest "MToolIcons"))
  468.               (newpath)
  469.          )
  470.      )
  471.  
  472.      (if (askbool (help "MagicWB is a collection of background patterns and icons, providing a very nice 8-coloured Workbench. You can install icons especially designed for MagicWB.") (prompt "Do you use 'MagicWB'?"))
  473.      (
  474.      (copyfiles
  475.          (prompt "Copying icons...")
  476.          (source "MToolIcons/MWB")
  477.          (pattern "(~MT)#?.info")
  478.          (dest icondest)
  479.      )
  480.      (copyfiles
  481.          (source "MToolIcons/MWB/MTool.info")
  482.          (dest progdest)
  483.      )
  484.      (copyfiles
  485.          (source "MToolIcons/MWB/MTPrefs.info")
  486.          (dest "SYS:Prefs")
  487.          (newname "MTool.info")
  488.      )
  489.      )
  490.      (
  491.      (copyfiles
  492.          (prompt "Copying icons...")
  493.          (source "MToolIcons")
  494.          (pattern "#?.info")
  495.          (dest icondest)
  496.      )
  497.      )
  498.      )
  499.  )
  500.  )
  501.  
  502.  (complete 80)
  503.  
  504.  (if (askbool (help "The docs iclude two AmigaGuide documents and a history file.") (prompt "Do you want to install the docs?"))
  505.  (
  506.      (set docdest
  507.          (askdir
  508.               (prompt "Please select a drawer for the docs.")
  509.               (help "It doesn't matter where you put the docs, if you manage to refind them...")
  510.               (default (tackon progdest "Docs"))
  511.               (newpath)
  512.          )
  513.      )
  514.      (copyfiles
  515.          (prompt "Copying Docs...")
  516.          (source "Docs")
  517.          (pattern "#?_GB.#?")
  518.          (infos)
  519.          (dest docdest)
  520.      )
  521.  )
  522.  )
  523.  
  524.  (complete 90)
  525.  
  526.  (if (askbool (help "DatMon is useful in hex mode of MI, Fineline 11 is used in MTools about requester.") (prompt "Do you want to install the fonts?"))
  527.  (
  528.      (set fontdest
  529.          (askdir
  530.              (prompt "Please select a drawer for the fonts.")
  531.              (help "If you didn't 'assign add' another font drawer, you shouldn't tuch this default setting.")
  532.              (default "Fonts:")
  533.              (newpath)
  534.          )
  535.      )
  536.      (copyfiles
  537.          (prompt "Copying fonts...")
  538.          (source "Fonts")
  539.          (dest fontdest)
  540.          (pattern "#?")
  541.      )
  542.  )
  543.  )
  544.  
  545.  (complete 99)
  546.  )
  547. )
  548.  
  549. (if (= locale 3)
  550.  (
  551.  (message "\n IMPORTANT NOTE:\n\n"
  552.           "This programm installs MTool on your Amiga. If you don't understand one of the questions that show up during installation, please select the 'help...' button. You will be instructed then about the next step and what it's good for."
  553.  )
  554.  
  555.  (set progdest
  556.      (askdir
  557.          (prompt "Please select a drawer for MTool.")
  558.          (help "MTool will be copied to this drawer.")
  559.          (default "SYS:Tools")
  560.          (newpath)
  561.      )
  562.  )
  563.  
  564.  (set @default-dest progdest)
  565.  
  566.  (copyfiles
  567.      (prompt "Copying MTool...")
  568.      (source "MTool")
  569.      (infos)
  570.      (dest progdest)
  571.  )
  572.  
  573.  (complete 30)
  574.  
  575.  (copyfiles
  576.      (prompt "Copying MTPrefs...")
  577.      (source "Prefs/MTool")
  578.      (infos)
  579.      (dest "SYS:Prefs")
  580.  )
  581.  
  582.  (if (askbool (help "The scripts are needed for some program objects of the demo prefs file. They are used to control the programs unarj, uuxt and untar.") (prompt "Do you want to install the shell scripts?"))
  583.  (
  584.      (copyfiles
  585.          (prompt "Copying scripts...")
  586.          (source "S")
  587.          (pattern "#?")
  588.          (dest "S:")
  589.      )
  590.  )
  591.  )
  592.  
  593.  (if (askbool (help "The tools are:\n\n- MFind (search for files and their contents)\n- MIconInfo (display icon information)\n\nThey are already included in the demo prefs") (prompt "Do you want to install the tools?"))
  594.  (
  595.      (copyfiles
  596.          (prompt "Copying tools...")
  597.          (source "Tools")
  598.          (pattern "#?")
  599.          (dest "SYS:Tools")
  600.      )
  601.  )
  602.  )
  603.  
  604.  (complete 40)
  605.  
  606.  (if (= (exists "ENVARC:MTool/MTool.Prefs") FALSE )
  607.  (
  608.      (makedir "ENVARC:MTool")
  609.      (makedir "ENV:MTool")
  610.  
  611.      (copyfiles
  612.          (prompt "Copying example prefs file...")
  613.          (source "Prefs/Env-Archive/MTool/MTool.Prefs")
  614.          (dest "ENVARC:MTool")
  615.      )
  616.      (copyfiles
  617.          (source "Prefs/Env-Archive/MTool/MTool.Prefs")
  618.          (dest "ENV:MTool")
  619.      )
  620.  )
  621.  )
  622.  
  623.  (complete 60)
  624.  
  625.  (if (> ver 37)
  626.      (if (exists "Locale:Catalogs/español")
  627.      (
  628.          (if (askbool (help "If you selected español as default language and install these files, MTool will show up with a spanish user interface.") (prompt "Do you want to install the spanish locale files?"))
  629.          (
  630.              (copyfiles
  631.                  (prompt "Installing Spanish Catalogs")
  632.                  (source "Catalogs/español")
  633.                  (pattern "#?")
  634.                  (dest "Locale:Catalogs/español")
  635.              )
  636.          )        
  637.          )
  638.      )
  639.      )
  640.  )
  641.  
  642.  (complete 70)
  643.  
  644.  (if (askbool (help "The icons will be used in MTool to create icons for files according to their type. This feature is disabled in the unregistered version.") (prompt "Do you want to install the icons?"))
  645.  (
  646.      (set icondest
  647.          (askdir
  648.               (prompt "Please select a drawer for the icons.")
  649.               (help "The example prefs file expects the icons in the default drawer.")
  650.               (default (tackon progdest "MToolIcons"))
  651.               (newpath)
  652.          )
  653.      )
  654.  
  655.      (if (askbool (help "MagicWB is a collection of background patterns and icons, providing a very nice 8-coloured Workbench. You can install icons especially designed for MagicWB.") (prompt "Do you use 'MagicWB'?"))
  656.      (
  657.      (copyfiles
  658.          (prompt "Copying icons...")
  659.          (source "MToolIcons/MWB")
  660.          (pattern "(~MT)#?.info")
  661.          (dest icondest)
  662.      )
  663.      (copyfiles
  664.          (source "MToolIcons/MWB/MTool.info")
  665.          (dest progdest)
  666.      )
  667.      (copyfiles
  668.          (source "MToolIcons/MWB/MTPrefs.info")
  669.          (dest "SYS:Prefs")
  670.          (newname "MTool.info")
  671.      )
  672.      )
  673.      (
  674.      (copyfiles
  675.          (prompt "Copying icons...")
  676.          (source "MToolIcons")
  677.          (pattern "#?.info")
  678.          (dest icondest)
  679.      )
  680.      )
  681.      )
  682.  )
  683.  )
  684.  
  685.  (complete 80)
  686.  
  687.  (if (askbool (help "The docs include two AmigaGuide documents and a history file.") (prompt "Do you want to install the docs?"))
  688.  (
  689.      (set docdest
  690.          (askdir
  691.               (prompt "Please select a drawer for the docs.")
  692.               (help "It doesn't matter where you put the docs, if you manage to refind them...")
  693.               (default (tackon progdest "Docs"))
  694.               (newpath)
  695.          )
  696.      )
  697.      (copyfiles
  698.          (prompt "Copying Docs...")
  699.          (source "Docs")
  700.          (pattern "#?_GB.#?")
  701.          (infos)
  702.          (dest docdest)
  703.      )
  704.      (copyfiles
  705.          (prompt "Copying Docs...")
  706.          (source "Docs")
  707.          (pattern "#?_E.#?")
  708.          (infos)
  709.          (dest docdest)
  710.      )
  711.  )
  712.  )
  713.  
  714.  (complete 90)
  715.  
  716.  (if (askbool (help "DatMon is useful in hex mode of MI, Fineline 11 is used in MTools about requester.") (prompt "Do you want to install the fonts?"))
  717.  (
  718.      (set fontdest
  719.          (askdir
  720.              (prompt "Please select a drawer for the fonts.")
  721.              (help "If you didn't 'assign add' another font drawer, you shouldn't tuch this default setting.")
  722.              (default "Fonts:")
  723.              (newpath)
  724.          )
  725.      )
  726.      (copyfiles
  727.          (prompt "Copying fonts...")
  728.          (source "Fonts")
  729.          (dest fontdest)
  730.          (pattern "#?")
  731.      )
  732.  )
  733.  )
  734.  
  735.  (complete 99)
  736.  )
  737. )
  738.  
  739. (if (= locale 4)
  740.  (
  741.  (message "\n IMPORTANT NOTE:\n\n"
  742.           "This programm installs MTool on your Amiga. If you don't understand one of the questions that show up during installation, please select the 'help...' button. You will be instructed then about the next step and what it's good for."
  743.  )
  744.  
  745.  (set progdest
  746.      (askdir
  747.          (prompt "Please select a drawer for MTool.")
  748.          (help "MTool will be copied to this drawer.")
  749.          (default "SYS:Tools")
  750.          (newpath)
  751.      )
  752.  )
  753.  
  754.  (set @default-dest progdest)
  755.  
  756.  (copyfiles
  757.      (prompt "Copying MTool...")
  758.      (source "MTool")
  759.      (infos)
  760.      (dest progdest)
  761.  )
  762.  
  763.  (complete 30)
  764.  
  765.  (copyfiles
  766.      (prompt "Copying MTPrefs...")
  767.      (source "Prefs/MTool")
  768.      (infos)
  769.      (dest "SYS:Prefs")
  770.  )
  771.  
  772.  (if (askbool (help "The scripts are needed for some program objects of the demo prefs file. They are used to control the programs unarj, uuxt and untar.") (prompt "Do you want to install the shell scripts?"))
  773.  (
  774.      (copyfiles
  775.          (prompt "Copying scripts...")
  776.          (source "S")
  777.          (pattern "#?")
  778.          (dest "S:")
  779.      )
  780.  )
  781.  )
  782.  
  783.  (if (askbool (help "The tools are:\n\n- MFind (search for files and their contents)\n- MIconInfo (display icon information)\n\nThey are already included in the demo prefs") (prompt "Do you want to install the tools?"))
  784.  (
  785.      (copyfiles
  786.          (prompt "Copying tools...")
  787.          (source "Tools")
  788.          (pattern "#?")
  789.          (dest "SYS:Tools")
  790.      )
  791.  )
  792.  )
  793.  
  794.  (complete 40)
  795.  
  796.  (if (= (exists "ENVARC:MTool/MTool.Prefs") FALSE )
  797.  (
  798.      (makedir "ENVARC:MTool")
  799.      (makedir "ENV:MTool")
  800.  
  801.      (copyfiles
  802.          (prompt "Copying example prefs file...")
  803.          (source "Prefs/Env-Archive/MTool/MTool.Prefs")
  804.          (dest "ENVARC:MTool")
  805.      )
  806.      (copyfiles
  807.          (source "Prefs/Env-Archive/MTool/MTool.Prefs")
  808.          (dest "ENV:MTool")
  809.      )
  810.  )
  811.  )
  812.  
  813.  (complete 60)
  814.  
  815.  (if (> ver 37)
  816.      (if (exists "Locale:Catalogs/français")
  817.      (
  818.          (if (askbool (help "If you selected français as default language and install these files, MTool will show up with a French user interface.") (prompt "Do you want to install the French locale files?"))
  819.          (
  820.              (copyfiles
  821.                  (prompt "Installing French Catalogs")
  822.                  (source "Catalogs/français")
  823.                  (pattern "#?")
  824.                  (dest "Locale:Catalogs/français")
  825.              )
  826.          )        
  827.          )
  828.      )
  829.      )
  830.  )
  831.  
  832.  (complete 70)
  833.  
  834.  (if (askbool (help "The icons will be used in MTool to create icons for files according to their type. This feature is disabled in the unregistered version.") (prompt "Do you want to install the icons?"))
  835.  (
  836.      (set icondest
  837.          (askdir
  838.               (prompt "Please select a drawer for the icons.")
  839.               (help "The example prefs file expects the icons in the default drawer.")
  840.               (default (tackon progdest "MToolIcons"))
  841.               (newpath)
  842.          )
  843.      )
  844.  
  845.      (if (askbool (help "MagicWB is a collection of background patterns and icons, providing a very nice 8-coloured Workbench. You can install icons especially designed for MagicWB.") (prompt "Do you use 'MagicWB'?"))
  846.      (
  847.      (copyfiles
  848.          (prompt "Copying icons...")
  849.          (source "MToolIcons/MWB")
  850.          (pattern "(~MT)#?.info")
  851.          (dest icondest)
  852.      )
  853.      (copyfiles
  854.          (source "MToolIcons/MWB/MTool.info")
  855.          (dest progdest)
  856.      )
  857.      (copyfiles
  858.          (source "MToolIcons/MWB/MTPrefs.info")
  859.          (dest "SYS:Prefs")
  860.          (newname "MTool.info")
  861.      )
  862.      )
  863.      (
  864.      (copyfiles
  865.          (prompt "Copying icons...")
  866.          (source "MToolIcons")
  867.          (pattern "#?.info")
  868.          (dest icondest)
  869.      )
  870.      )
  871.      )
  872.  )
  873.  )
  874.  
  875.  (complete 80)
  876.  
  877.  (if (askbool (help "The docs iclude two AmigaGuide documents and a history file.") (prompt "Do you want to install the docs?"))
  878.  (
  879.      (set docdest
  880.          (askdir
  881.               (prompt "Please select a drawer for the docs.")
  882.               (help "It doesn't matter where you put the docs, if you manage to refind them...")
  883.               (default (tackon progdest "Docs"))
  884.               (newpath)
  885.          )
  886.      )
  887.      (copyfiles
  888.          (prompt "Copying Docs...")
  889.          (source "Docs")
  890.          (pattern "#?_GB.#?")
  891.          (infos)
  892.          (dest docdest)
  893.      )
  894.  )
  895.  )
  896.  
  897.  (complete 90)
  898.  
  899.  (if (askbool (help "DatMon is useful in hex mode of MI, Fineline 11 is used in MTools about requester.") (prompt "Do you want to install the fonts?"))
  900.  (
  901.      (set fontdest
  902.          (askdir
  903.              (prompt "Please select a drawer for the fonts.")
  904.              (help "If you didn't 'assign add' another font drawer, you shouldn't tuch this default setting.")
  905.              (default "Fonts:")
  906.              (newpath)
  907.          )
  908.      )
  909.      (copyfiles
  910.          (prompt "Copying fonts...")
  911.          (source "Fonts")
  912.          (dest fontdest)
  913.          (pattern "#?")
  914.      )
  915.  )
  916.  )
  917.  
  918.  (complete 99)
  919.  )
  920. )
  921.  
  922. (if (= locale 5)
  923.  (
  924.  (message "\n IMPORTANT NOTE:\n\n"
  925.           "This programm installs MTool on your Amiga. If you don't understand one of the questions that show up during installation, please select the 'help...' button. You will be instructed then about the next step and what it's good for."
  926.  )
  927.  
  928.  (set progdest
  929.      (askdir
  930.          (prompt "Please select a drawer for MTool.")
  931.          (help "MTool will be copied to this drawer.")
  932.          (default "SYS:Tools")
  933.          (newpath)
  934.      )
  935.  )
  936.  
  937.  (set @default-dest progdest)
  938.  
  939.  (copyfiles
  940.      (prompt "Copying MTool...")
  941.      (source "MTool")
  942.      (infos)
  943.      (dest progdest)
  944.  )
  945.  
  946.  (complete 30)
  947.  
  948.  (copyfiles
  949.      (prompt "Copying MTPrefs...")
  950.      (source "Prefs/MTool")
  951.      (infos)
  952.      (dest "SYS:Prefs")
  953.  )
  954.  
  955.  (if (askbool (help "The scripts are needed for some program objects of the demo prefs file. They are used to control the programs unarj, uuxt and untar.") (prompt "Do you want to install the shell scripts?"))
  956.  (
  957.      (copyfiles
  958.          (prompt "Copying scripts...")
  959.          (source "S")
  960.          (pattern "#?")
  961.          (dest "S:")
  962.      )
  963.  )
  964.  )
  965.  
  966.  (if (askbool (help "The tools are:\n\n- MFind (search for files and their contents)\n- MIconInfo (display icon information)\n\nThey are already included in the demo prefs") (prompt "Do you want to install the tools?"))
  967.  (
  968.      (copyfiles
  969.          (prompt "Copying tools...")
  970.          (source "Tools")
  971.          (pattern "#?")
  972.          (dest "SYS:Tools")
  973.      )
  974.  )
  975.  )
  976.  
  977.  (complete 40)
  978.  
  979.  (if (= (exists "ENVARC:MTool/MTool.Prefs") FALSE )
  980.  (
  981.      (makedir "ENVARC:MTool")
  982.      (makedir "ENV:MTool")
  983.  
  984.      (copyfiles
  985.          (prompt "Copying example prefs file...")
  986.          (source "Prefs/Env-Archive/MTool/MTool.Prefs")
  987.          (dest "ENVARC:MTool")
  988.      )
  989.      (copyfiles
  990.          (source "Prefs/Env-Archive/MTool/MTool.Prefs")
  991.          (dest "ENV:MTool")
  992.      )
  993.  )
  994.  )
  995.  
  996.  (complete 60)
  997.  
  998.  (if (> ver 37)
  999.      (if (exists "Locale:Catalogs/svenska")
  1000.      (
  1001.          (if (askbool (help "If you selected svenska as default language and install these files, MTool will show up with a Swedish user interface.") (prompt "Do you want to install the Swedish locale files?"))
  1002.          (
  1003.              (copyfiles
  1004.                  (prompt "Installing Swedish Catalogs")
  1005.                  (source "Catalogs/svenska")
  1006.                  (pattern "#?")
  1007.                  (dest "Locale:Catalogs/svenska")
  1008.              )
  1009.          )        
  1010.          )
  1011.      )
  1012.      )
  1013.  )
  1014.  
  1015.  (complete 70)
  1016.  
  1017.  (if (askbool (help "The icons will be used in MTool to create icons for files according to their type. This feature is disabled in the unregistered version.") (prompt "Do you want to install the icons?"))
  1018.  (
  1019.      (set icondest
  1020.          (askdir
  1021.               (prompt "Please select a drawer for the icons.")
  1022.               (help "The example prefs file expects the icons in the default drawer.")
  1023.               (default (tackon progdest "MToolIcons"))
  1024.               (newpath)
  1025.          )
  1026.      )
  1027.  
  1028.      (if (askbool (help "MagicWB is a collection of background patterns and icons, providing a very nice 8-coloured Workbench. You can install icons especially designed for MagicWB.") (prompt "Do you use 'MagicWB'?"))
  1029.      (
  1030.      (copyfiles
  1031.          (prompt "Copying icons...")
  1032.          (source "MToolIcons/MWB")
  1033.          (pattern "(~MT)#?.info")
  1034.          (dest icondest)
  1035.      )
  1036.      (copyfiles
  1037.          (source "MToolIcons/MWB/MTool.info")
  1038.          (dest progdest)
  1039.      )
  1040.      (copyfiles
  1041.          (source "MToolIcons/MWB/MTPrefs.info")
  1042.          (dest "SYS:Prefs")
  1043.          (newname "MTool.info")
  1044.      )
  1045.      )
  1046.      (
  1047.      (copyfiles
  1048.          (prompt "Copying icons...")
  1049.          (source "MToolIcons")
  1050.          (pattern "#?.info")
  1051.          (dest icondest)
  1052.      )
  1053.      )
  1054.      )
  1055.  )
  1056.  )
  1057.  
  1058.  (complete 80)
  1059.  
  1060.  (if (askbool (help "The docs include two AmigaGuide documents and a history file.") (prompt "Do you want to install the docs?"))
  1061.  (
  1062.      (set docdest
  1063.          (askdir
  1064.               (prompt "Please select a drawer for the docs.")
  1065.               (help "It doesn't matter where you put the docs, if you manage to refind them...")
  1066.               (default (tackon progdest "Docs"))
  1067.               (newpath)
  1068.          )
  1069.      )
  1070.      (copyfiles
  1071.          (prompt "Copying Docs...")
  1072.          (source "Docs")
  1073.          (pattern "#?_S.#?")
  1074.          (infos)
  1075.          (dest docdest)
  1076.      )
  1077.      (copyfiles
  1078.          (prompt "Copying Docs...")
  1079.          (source "Docs")
  1080.          (pattern "#?_GB.#?")
  1081.          (infos)
  1082.          (dest docdest)
  1083.      )
  1084.  )
  1085.  )
  1086.  
  1087.  (complete 90)
  1088.  
  1089.  (if (askbool (help "DatMon is useful in hex mode of MI, Fineline 11 is used in MTools about requester.") (prompt "Do you want to install the fonts?"))
  1090.  (
  1091.      (set fontdest
  1092.          (askdir
  1093.              (prompt "Please select a drawer for the fonts.")
  1094.              (help "If you didn't 'assign add' another font drawer, you shouldn't tuch this default setting.")
  1095.              (default "Fonts:")
  1096.              (newpath)
  1097.          )
  1098.      )
  1099.      (copyfiles
  1100.          (prompt "Copying fonts...")
  1101.          (source "Fonts")
  1102.          (dest fontdest)
  1103.          (pattern "#?")
  1104.      )
  1105.  )
  1106.  )
  1107.  
  1108.  (complete 99)
  1109.  )
  1110. )
  1111.  
  1112. (if (= locale 6)
  1113.  (
  1114.  (message "\n IMPORTANT NOTE:\n\n"
  1115.           "This programm installs MTool on your Amiga. If you don't understand one of the questions that show up during installation, please select the 'help...' button. You will be instructed then about the next step and what it's good for."
  1116.  )
  1117.  
  1118.  (set progdest
  1119.      (askdir
  1120.          (prompt "Please select a drawer for MTool.")
  1121.          (help "MTool will be copied to this drawer.")
  1122.          (default "SYS:Tools")
  1123.          (newpath)
  1124.      )
  1125.  )
  1126.  
  1127.  (set @default-dest progdest)
  1128.  
  1129.  (copyfiles
  1130.      (prompt "Copying MTool...")
  1131.      (source "MTool")
  1132.      (infos)
  1133.      (dest progdest)
  1134.  )
  1135.  
  1136.  (complete 30)
  1137.  
  1138.  (copyfiles
  1139.      (prompt "Copying MTPrefs...")
  1140.      (source "Prefs/MTool")
  1141.      (infos)
  1142.      (dest "SYS:Prefs")
  1143.  )
  1144.  
  1145.  (if (askbool (help "The scripts are needed for some program objects of the demo prefs file. They are used to control the programs unarj, uuxt and untar.") (prompt "Do you want to install the shell scripts?"))
  1146.  (
  1147.      (copyfiles
  1148.          (prompt "Copying scripts...")
  1149.          (source "S")
  1150.          (pattern "#?")
  1151.          (dest "S:")
  1152.      )
  1153.  )
  1154.  )
  1155.  
  1156.  (if (askbool (help "The tools are:\n\n- MFind (search for files and their contents)\n- MIconInfo (display icon information)\n\nThey are already included in the demo prefs") (prompt "Do you want to install the tools?"))
  1157.  (
  1158.      (copyfiles
  1159.          (prompt "Copying tools...")
  1160.          (source "Tools")
  1161.          (pattern "#?")
  1162.          (dest "SYS:Tools")
  1163.      )
  1164.  )
  1165.  )
  1166.  
  1167.  (complete 40)
  1168.  
  1169.  (if (= (exists "ENVARC:MTool/MTool.Prefs") FALSE )
  1170.  (
  1171.      (makedir "ENVARC:MTool")
  1172.      (makedir "ENV:MTool")
  1173.  
  1174.      (copyfiles
  1175.          (prompt "Copying example prefs file...")
  1176.          (source "Prefs/Env-Archive/MTool/MTool.Prefs")
  1177.          (dest "ENVARC:MTool")
  1178.      )
  1179.      (copyfiles
  1180.          (source "Prefs/Env-Archive/MTool/MTool.Prefs")
  1181.          (dest "ENV:MTool")
  1182.      )
  1183.  )
  1184.  )
  1185.  
  1186.  (complete 60)
  1187.  
  1188.  (if (> ver 37)
  1189.      (if (exists "Locale:Catalogs/italiano")
  1190.      (
  1191.          (if (askbool (help "If you selected italiano as default language and install these files, MTool will show up with a italian user interface.") (prompt "Do you want to install the italian locale files?"))
  1192.          (
  1193.              (copyfiles
  1194.                  (prompt "Installing Italian Catalogs")
  1195.                  (source "Catalogs/italiano")
  1196.                  (pattern "#?")
  1197.                  (dest "Locale:Catalogs/italiano")
  1198.              )
  1199.          )        
  1200.          )
  1201.      )
  1202.      )
  1203.  )
  1204.  
  1205.  (complete 70)
  1206.  
  1207.  (if (askbool (help "The icons will be used in MTool to create icons for files according to their type. This feature is disabled in the unregistered version.") (prompt "Do you want to install the icons?"))
  1208.  (
  1209.      (set icondest
  1210.          (askdir
  1211.               (prompt "Please select a drawer for the icons.")
  1212.               (help "The example prefs file expects the icons in the default drawer.")
  1213.               (default (tackon progdest "MToolIcons"))
  1214.               (newpath)
  1215.          )
  1216.      )
  1217.  
  1218.      (if (askbool (help "MagicWB is a collection of background patterns and icons, providing a very nice 8-coloured Workbench. You can install icons especially designed for MagicWB.") (prompt "Do you use 'MagicWB'?"))
  1219.      (
  1220.      (copyfiles
  1221.          (prompt "Copying icons...")
  1222.          (source "MToolIcons/MWB")
  1223.          (pattern "(~MT)#?.info")
  1224.          (dest icondest)
  1225.      )
  1226.      (copyfiles
  1227.          (source "MToolIcons/MWB/MTool.info")
  1228.          (dest progdest)
  1229.      )
  1230.      (copyfiles
  1231.          (source "MToolIcons/MWB/MTPrefs.info")
  1232.          (dest "SYS:Prefs")
  1233.          (newname "MTool.info")
  1234.      )
  1235.      )
  1236.      (
  1237.      (copyfiles
  1238.          (prompt "Copying icons...")
  1239.          (source "MToolIcons")
  1240.          (pattern "#?.info")
  1241.          (dest icondest)
  1242.      )
  1243.      )
  1244.      )
  1245.  )
  1246.  )
  1247.  
  1248.  (complete 80)
  1249.  
  1250.  (if (askbool (help "The docs include two AmigaGuide documents and a history file.") (prompt "Do you want to install the docs?"))
  1251.  (
  1252.      (set docdest
  1253.          (askdir
  1254.               (prompt "Please select a drawer for the docs.")
  1255.               (help "It doesn't matter where you put the docs, if you manage to refind them...")
  1256.               (default (tackon progdest "Docs"))
  1257.               (newpath)
  1258.          )
  1259.      )
  1260.      (copyfiles
  1261.          (prompt "Copying Docs...")
  1262.          (source "Docs")
  1263.          (pattern "#?_GB.#?")
  1264.          (infos)
  1265.          (dest docdest)
  1266.      )
  1267.      (copyfiles
  1268.          (prompt "Copying Docs...")
  1269.          (source "Docs")
  1270.          (pattern "#?_I.#?")
  1271.          (infos)
  1272.          (dest docdest)
  1273.      )
  1274.  )
  1275.  )
  1276.  
  1277.  (complete 90)
  1278.  
  1279.  (if (askbool (help "DatMon is useful in hex mode of MI, Fineline 11 is used in MTools about requester.") (prompt "Do you want to install the fonts?"))
  1280.  (
  1281.      (set fontdest
  1282.          (askdir
  1283.              (prompt "Please select a drawer for the fonts.")
  1284.              (help "If you didn't 'assign add' another font drawer, you shouldn't tuch this default setting.")
  1285.              (default "Fonts:")
  1286.              (newpath)
  1287.          )
  1288.      )
  1289.      (copyfiles
  1290.          (prompt "Copying fonts...")
  1291.          (source "Fonts")
  1292.          (dest fontdest)
  1293.          (pattern "#?")
  1294.      )
  1295.  )
  1296.  )
  1297.  
  1298.  (complete 99)
  1299.  )
  1300. )
  1301.  
  1302. (if (= locale 7)
  1303.  (
  1304.  (message "\n TÄRKEÄ TIEDOTUS:\n\n"
  1305.           "Tämä ohjelma asentaa MToolin ja MI:n Amigaasi. Jos et ymmärrä asennuksen aikana esitettäviä kysymyksiä, paina 'help' painiketta. Tämä kertoo sinulle seuraavasta asennusvaiheesta ja sen tarkoituksesta."
  1306.  )
  1307.  
  1308.  (set progdest
  1309.      (askdir
  1310.          (prompt "Ole hyvä ja valitse hakemisto MToolille")
  1311.          (help "MTool ja MI kopioidaan valitsemaasi hakemistoon.")
  1312.          (default "SYS:Tools")
  1313.          (newpath)
  1314.      )
  1315.  )
  1316.  
  1317.  (set @default-dest progdest)
  1318.  
  1319.  (copyfiles
  1320.      (prompt "Kopioin MToolia...")
  1321.      (source "MTool")
  1322.      (infos)
  1323.      (dest progdest)
  1324.  )
  1325.  
  1326.  (complete 30)
  1327.  
  1328.  (copyfiles
  1329.      (prompt "Kopioin MTPrefsiä...")
  1330.      (source "Prefs/MTool")
  1331.      (infos)
  1332.      (dest "SYS:Prefs")
  1333.  )
  1334.  
  1335.  (if (askbool (help "The scripts are needed for some program objects of the demo prefs file. They are used to control the programs unarj, uuxt and untar.") (prompt "Do you want to install the shell scripts?"))
  1336.  (
  1337.      (copyfiles
  1338.          (prompt "Kopioin Scripts...")
  1339.          (source "S")
  1340.          (pattern "#?")
  1341.          (dest "S:")
  1342.      )
  1343.  )
  1344.  )
  1345.  
  1346.  (if (askbool (help "The tools are:\n\n- MFind (search for files and their contents)\n- MIconInfo (display icon information)\n\nThey are already included in the demo prefs") (prompt "Do you want to install the tools?"))
  1347.  (
  1348.      (copyfiles
  1349.          (prompt "Kopioin Tools...")
  1350.          (source "Tools")
  1351.          (pattern "#?")
  1352.          (dest "SYS:Tools")
  1353.      )
  1354.  )
  1355.  )
  1356.  
  1357.  (complete 40)
  1358.  
  1359.  (if (= (exists "ENVARC:MTool/MTool.Prefs") FALSE )
  1360.  (
  1361.      (makedir "ENVARC:MTool")
  1362.      (makedir "ENV:MTool")
  1363.  
  1364.      (copyfiles
  1365.          (prompt "Kopioin esimerkkiasetuksia...")
  1366.          (source "Prefs/Env-Archive/MTool/MTool.Prefs")
  1367.          (dest "ENVARC:MTool")
  1368.      )
  1369.      (copyfiles
  1370.          (source "Prefs/Env-Archive/MTool/MTool.Prefs")
  1371.          (dest "ENV:MTool")
  1372.      )
  1373.  )
  1374.  )
  1375.  
  1376.  (complete 60)
  1377.  
  1378.  (if (askbool 
  1379.          (help "MTool luo tiedostoille niiden tyyppiä vastaavat ikonit käyttäen näitä ikoneita pohjana. Tämä toiminto ei ole käytettävissä rekisteröimättömässä versiossa.")
  1380.          (prompt "Haluatko asentaa ikonit?"))
  1381.  (
  1382.      (set icondest
  1383.          (askdir
  1384.               (prompt "Ole hyvä ja valitse hakemisto ikoneille.")
  1385.               (help "Esimerkkiasetukset etsivät ikoneita tästä oletushakemistosta.")
  1386.               (default (tackon progdest "MToolIcons"))
  1387.               (newpath)
  1388.          )
  1389.      )
  1390.  
  1391.      (if (askbool 
  1392.              (help "MagicWB on kokoelma taustakuvia ja ikoneita, luoden hyvän näköisen 8-värisen Workbenchin. Voit asentaa nämä erityisesti MagicWB:tä varten suunnitellut ikonit.")
  1393.              (prompt "Käytätkö 'MagicWB':tä?"))
  1394.      (
  1395.      (copyfiles
  1396.          (prompt "Kopioin ikoneita...")
  1397.          (source "MToolIcons/MWB")
  1398.          (pattern "(~MT)#?.info")
  1399.          (dest icondest)
  1400.      )
  1401.      (copyfiles
  1402.          (source "MToolIcons/MWB/MTool.info")
  1403.          (dest progdest)
  1404.      )
  1405.      (copyfiles
  1406.          (source "MToolIcons/MWB/MTPrefs.info")
  1407.          (dest "SYS:Prefs")
  1408.          (newname "MTool.info")
  1409.      )
  1410.      )
  1411.      (
  1412.      (copyfiles
  1413.          (prompt "Kopioin ikoneita...")
  1414.          (source "MToolIcons")
  1415.          (pattern "#?.info")
  1416.          (dest icondest)
  1417.      )
  1418.      )
  1419.      )
  1420.  )
  1421.  )
  1422.  
  1423.  (complete 80)
  1424.  
  1425.  (if (askbool 
  1426.          (help "Dokumentaatioon kuuluu kaksi AmigaGuide tiedostoa ja lista muutoksista.")
  1427.          (prompt "Haluatko asentaa ohjetiedostot?"))
  1428.  (
  1429.      (set docdest
  1430.          (askdir
  1431.               (prompt "Ole hyvä ja valitse hakemisto ohjeille.")
  1432.               (help "Ohjeiden sijoituspaikalla ei ole merkitystä, kunhan löydät ne itse...")
  1433.               (default (tackon progdest "Docs"))
  1434.               (newpath)
  1435.          )
  1436.      )
  1437.      (copyfiles
  1438.          (prompt "Kopioin ohjetiedostoja...")
  1439.          (source "Docs")
  1440.          (pattern "#?_GB.#?")
  1441.          (infos)
  1442.          (dest docdest)
  1443.      )
  1444.  )
  1445.  )
  1446.  
  1447.  (complete 90)
  1448.  
  1449.  (if (askbool 
  1450.          (help "DatMon on käyttökelpoinen MI:n heksatilassa, Fineline 11 on käytössä MToolin ohjelmatietoikkunassa.")
  1451.          (prompt "Haluatko asentaa kirjasimet?"))
  1452.  (
  1453.      (set fontdest
  1454.          (askdir
  1455.              (prompt "Ole hyvä ja valitse hakemisto kirjasimille.")
  1456.              (help "Jollei sinulla ole toista 'assign add':lla lisättyä kirjasinhakemistoa, jätä tämä oletusarvoonsa.")
  1457.              (default "Fonts:")
  1458.              (newpath)
  1459.          )
  1460.      )
  1461.      (copyfiles
  1462.          (prompt "Kopioin kirjasimia...")
  1463.          (source "Fonts")
  1464.          (dest fontdest)
  1465.          (pattern "#?")
  1466.      )
  1467.  )
  1468.  )
  1469.  
  1470.  (complete 99)
  1471.  )
  1472. )
  1473.  
  1474. (if (= locale 8)
  1475.  (
  1476.  (message "\n BELANGRIJKE OPMERKING:\n\n"
  1477.           "Dit programma installeert MTool op uw Amiga.Als u een van de vragen die te zien zijn niet begrijpt tijdens installering, kies de 'help...'toets. U wordt dan aanwijzingen gegeven voor de volgende stap en waar het toe dient."
  1478.  )
  1479.  
  1480.  (set progdest
  1481.      (askdir
  1482.          (prompt "Kies a.u.b. een lade voor MTool.")
  1483.          (help "MTool zal naar deze lade gekopieert worden.")
  1484.          (default "SYS:Tools")
  1485.          (newpath)
  1486.      )
  1487.  )
  1488.  
  1489.  (set @default-dest progdest)
  1490.  
  1491.  (copyfiles
  1492.      (prompt "MTool aan het kopieren...")
  1493.      (source "MTool")
  1494.      (infos)
  1495.      (dest progdest)
  1496.  )
  1497.  
  1498.  (complete 30)
  1499.  
  1500.  (copyfiles
  1501.      (prompt "MToolvoorkeuzes aan het kopieren...")
  1502.      (source "Prefs/MTool")
  1503.      (infos)
  1504.      (dest "SYS:Prefs")
  1505.  )
  1506.  
  1507.  (if (askbool (help "The scripts are needed for some program objects of the demo prefs file. They are used to control the programs unarj, uuxt and untar.") (prompt "Wilt u de shell scripts installeren?"))
  1508.  (
  1509.      (copyfiles
  1510.          (prompt "Scripts aan het kopieren...")
  1511.          (source "S")
  1512.          (pattern "#?")
  1513.          (dest "S:")
  1514.      )
  1515.  )
  1516.  )
  1517.  
  1518.  (if (askbool (help "The tools are:\n\n- MFind (search for files and their contents)\n- MIconInfo (display icon information)\n\nThey are already included in the demo prefs") (prompt "Wilt u de tools installeren?"))
  1519.  (
  1520.      (copyfiles
  1521.          (prompt "Tools aan het kopieren...")
  1522.          (source "Tools")
  1523.          (pattern "#?")
  1524.          (dest "SYS:Tools")
  1525.      )
  1526.  )
  1527.  )
  1528.  
  1529.  (complete 40)
  1530.  
  1531.  (if (= (exists "ENVARC:MTool/MTool.Prefs") FALSE )
  1532.  (
  1533.      (makedir "ENVARC:MTool")
  1534.      (makedir "ENV:MTool")
  1535.  
  1536.      (copyfiles
  1537.          (prompt "Voorbeelden voorkeuzes bestand aan het kopieren...")
  1538.          (source "Prefs/Env-Archive/MTool/MTool.Prefs")
  1539.          (dest "ENVARC:MTool")
  1540.      )
  1541.      (copyfiles
  1542.          (source "Prefs/Env-Archive/MTool/MTool.Prefs")
  1543.          (dest "ENV:MTool")
  1544.      )
  1545.  )
  1546.  )
  1547.  
  1548.  (complete 60)
  1549.  
  1550.  (if (askbool (help "De ikonen zullen door MTool gebruikt worden voor bestanden volgens hun type.Deze mogelijkheid is kan niet gebruikt worden in de niet-geregistreerde versie.") (prompt "Wilt u de ikonen installeren?"))
  1551.  (
  1552.      (set icondest
  1553.          (askdir
  1554.               (prompt "selekteer a.u.b. een lade voor de ikonen.")
  1555.               (help "Het voorbeeld voorkeuzesbestand verwacht de ikonen in de standaardlade.")
  1556.               (default (tackon progdest "MToolIcons"))
  1557.               (newpath)
  1558.          )
  1559.      )
  1560.  
  1561.      (if (askbool (help "MagigWB is een verzameling van achtergrondpatronen en ikonen, dat het Werkbankvenster erg mooi van achtkleuren kan voorzien. U kunt speciaal voor MagicWB ontworpen ikonen installeren.") (prompt "Gebruikt u MagicWB?"))
  1562.      (
  1563.      (copyfiles
  1564.          (prompt "Ikonen aan het kopieren...")
  1565.          (source "MToolIcons/MWB")
  1566.          (pattern "(~MT)#?.info")
  1567.          (dest icondest)
  1568.      )
  1569.      (copyfiles
  1570.          (source "MToolIcons/MWB/MTool.info")
  1571.          (dest progdest)
  1572.      )
  1573.      (copyfiles
  1574.          (source "MToolIcons/MWB/MTPrefs.info")
  1575.          (dest "SYS:Prefs")
  1576.          (newname "MTool.info")
  1577.      )
  1578.      )
  1579.      (
  1580.      (copyfiles
  1581.          (prompt "Ikonen aan het kopieren...")
  1582.          (source "MToolIcons")
  1583.          (pattern "#?.info")
  1584.          (dest icondest)
  1585.      )
  1586.      )
  1587.      )
  1588.  )
  1589.  )
  1590.  
  1591.  (complete 80)
  1592.  
  1593.  (if (askbool (help "Het dokumentenbestand bevat twee AmigaGuide dokumenten en een geschiedenisbestand.") (prompt "Wilt U de dokumenten installeren?"))
  1594.  (
  1595.      (set docdest
  1596.          (askdir
  1597.               (prompt "selekteer a.u.b. een lade voor de dokumenten.")
  1598.               (help "Het maakt niet uit in welke lade u de dokumenten plaats, zolang u ze weet terug te vinden...")
  1599.               (default (tackon progdest "Docs"))
  1600.               (newpath)
  1601.          )
  1602.      )
  1603.      (copyfiles
  1604.          (prompt "Dokumenten aan het kopieren...")
  1605.          (source "Docs")
  1606.          (pattern "#?_NL.#?")
  1607.          (infos)
  1608.          (dest docdest)
  1609.      )
  1610.  )
  1611.  )
  1612.  
  1613.  (complete 90)
  1614.  
  1615.  (if (askbool (help "DatMon is nuttig is hex mode van MI, Fineline 11 wordt gebruikt in MTools informatie over venster.") (prompt "wilt u de lettertypes installeren?"))
  1616.  (
  1617.      (set fontdest
  1618.          (askdir
  1619.              (prompt "Selekteer a.u.b. een lade voor de lettertypes.")
  1620.              (help "Als u geen 'assign add' aan een ander lettertypelade toegevoegd heeft, moet u deze standaard zetting niet veranderen.")
  1621.              (default "Fonts:")
  1622.              (newpath)
  1623.          )
  1624.      )
  1625.      (copyfiles
  1626.          (prompt "Lettertypes aan het kopieren...")
  1627.          (source "Fonts")
  1628.          (dest fontdest)
  1629.          (pattern "#?")
  1630.      )
  1631.  )
  1632.  )
  1633.  
  1634.  (complete 99)
  1635.  )
  1636. )
  1637.  
  1638. (exit)
  1639.